//
//  MainPageCell.m
//  iRMAP
//
//  Created by Nico and Shang Forever on 4/30/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "MainPageCell.h"

@implementation MainPageCell

- (void)awakeFromNib
{
    // Initialization code
    CABasicAnimation* animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
    animation.fromValue = @0.0f;
    animation.toValue = @(2*M_PI);
    animation.duration = 1.0f;             // this might be too fast
    animation.repeatCount = HUGE_VALF;     // HUGE_VALF is defined in math.h so import it
    [self.imgLoadingMini.layer addAnimation:animation forKey:@"rotation"];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    
    // Configure the view for the selected state
}

@end
